package com.xl98.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ls
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Appointment对象", description="")
public class Appointment implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "普通用户id（外键）")
    private String userId;

    @ApiModelProperty(value = " 角色为咨询师的用户（外键）")
    private String consultantId;

    @ApiModelProperty(value = " 预约时间 ")
    private Date createTime;

    @ApiModelProperty(value = "state_id 状态id(外键) ")
    private String stateId;

    @ApiModelProperty(value = "deleted 逻辑删除")
    @TableLogic
    private Integer deleted;


}
